.class Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$a;
.super Landroidx/recyclerview/widget/RecyclerView$ViewHolder;
.source "MergeDataAdapter.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "a"
.end annotation


# instance fields
.field private a:Landroid/view/View;

.field final synthetic b:Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;


# direct methods
.method constructor <init>(Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;Landroid/view/View;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$a;->b:Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;

    .line 2
    invoke-direct {p0, p2}, Landroidx/recyclerview/widget/RecyclerView$ViewHolder;-><init>(Landroid/view/View;)V

    .line 3
    sget p1, Les/x4;->merge_media_add_icon:I

    invoke-virtual {p2, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$a;->a:Landroid/view/View;

    .line 4
    invoke-virtual {p1, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method


# virtual methods
.method a(Lcom/esfile/screen/recorder/videos/merge/b0;)V
    .locals 0

    return-void
.end method

.method public synthetic a(Ljava/util/ArrayList;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$a;->b:Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;->c(Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;)Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$b;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$a;->b:Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;->c(Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;)Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$b;

    move-result-object v0

    invoke-interface {v0, p1}, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$b;->a(Ljava/util/ArrayList;)V

    :cond_0
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    .line 1
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$a;->b:Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;->c(Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;)Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$b;

    move-result-object p1

    if-eqz p1, :cond_0

    .line 2
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$a;->b:Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;

    invoke-static {p1}, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;->c(Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;)Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$b;

    move-result-object p1

    invoke-interface {p1}, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$b;->a()V

    .line 3
    :cond_0
    new-instance p1, Lcom/esfile/screen/recorder/picture/newpicker/g;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$a;->b:Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;

    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;->a(Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;)Landroid/content/Context;

    move-result-object v0

    invoke-direct {p1, v0}, Lcom/esfile/screen/recorder/picture/newpicker/g;-><init>(Landroid/content/Context;)V

    const/4 v0, 0x2

    .line 4
    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/picture/newpicker/g;->a(I)Lcom/esfile/screen/recorder/picture/newpicker/g;

    .line 5
    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/picture/newpicker/g;->b(I)Lcom/esfile/screen/recorder/picture/newpicker/g;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$a;->b:Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;

    .line 6
    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;->d(Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    const/4 v2, 0x1

    if-ne v1, v2, :cond_1

    goto :goto_0

    :cond_1
    const/4 v0, 0x1

    :goto_0
    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/picture/newpicker/g;->c(I)Lcom/esfile/screen/recorder/picture/newpicker/g;

    .line 7
    invoke-virtual {p1, v2}, Lcom/esfile/screen/recorder/picture/newpicker/g;->a(Z)Lcom/esfile/screen/recorder/picture/newpicker/g;

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$a;->b:Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;

    new-instance v1, Lcom/esfile/screen/recorder/videos/merge/y;

    invoke-direct {v1, v0}, Lcom/esfile/screen/recorder/videos/merge/y;-><init>(Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter;)V

    .line 8
    invoke-virtual {p1, v1}, Lcom/esfile/screen/recorder/picture/newpicker/g;->a(Lcom/esfile/screen/recorder/picture/newpicker/h;)Lcom/esfile/screen/recorder/picture/newpicker/g;

    new-instance v0, Lcom/esfile/screen/recorder/videos/merge/a;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/merge/a;-><init>(Lcom/esfile/screen/recorder/videos/merge/MergeDataAdapter$a;)V

    .line 9
    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/picture/newpicker/g;->a(Lcom/esfile/screen/recorder/picture/newpicker/f;)Lcom/esfile/screen/recorder/picture/newpicker/g;

    .line 10
    invoke-virtual {p1}, Lcom/esfile/screen/recorder/picture/newpicker/g;->a()V

    .line 11
    invoke-static {}, Lcom/esfile/screen/recorder/videos/merge/c0;->a()V

    return-void
.end method
